package com.zonta.finance.serivce;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zonta.finance.domain.form.RoleBindMenuForm;
import com.zonta.finance.domain.po.SysRoleBindMenu;

import java.util.List;

public interface ISysRoleBindMenuService extends IService<SysRoleBindMenu> {
    /**
     * 角色绑定菜单列表
     * @param form
     * @return
     */
    boolean roleBindMenu(RoleBindMenuForm form);

    /**
     * 查询绑定的资源列表
     * @param roleId
     * @return
     */
    List<Integer> listBindMenuIdByRoleId(int roleId);
}
